package com.rybbaby.tss.front.tssMemberAddSubtractRecord.service;


import com.rybbaby.tss.core.web.service.IBaseService;
import com.rybbaby.tss.front.tssMemberAddSubtractRecord.entity.TssMemberAddSubtractRecord;

import java.util.List;
import java.util.Map;

/**
 * @description 会员加减课时记录表数据库操作服务接口
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-09 下午11:59:34
 */
public interface ITssMemberAddSubtractRecordService extends IBaseService<TssMemberAddSubtractRecord> {

    /**
     * 添加课时
     * @param entity
     * @return
     */
   public  Boolean save(TssMemberAddSubtractRecord entity,String adminUserId) throws Exception;

    /**
     * 根据会员id查询加减课记录
     * @param memberId
     * @param type
     * @return
     */
    List<Map<String,Object>> getDetailListBymemberId(String memberId, Integer type);
	
}
